<!DOCTYPE html>
<html>
<head>
<title>Warcraft 3 Frames - Frame</title>
</head>
<body>
<h2>Frame</h2>
<p>Format1: Frame "FRAMETYPE" "FrameName" {}</p>
<p>Format2: Frame "FRAMETYPE" "FrameName" INHERITS "FrameNameInherited" {}</p>
<p>Format3: Frame "FRAMETYPE" "FrameName" INHERITS WITHCHILDREN "FrameNameInherited" {}</p>
<p>作用: Define a new Frame of "FRAMETYPE" with "FrameName". In Format2 fdf Actions from the inherited Frame are cloned. WithChildren will also clone fdfActions for child-Frames. The FrameName can be empty "", but it has to be there. The fdf-Actions inside {} belong to the Frame. I call a Frame defined outside of other Frames MainFrame it can be created and inherited. Frames defined inside Frames are child-Frames.
<p>例子 Frame "FRAME" "TimerDialog"</p>
<p>例子 Frame "BACKDROP" "QuestButtonBackdropTemplate" INHERITS "QuestButtonBaseTemplate"</p>
<p>例子 Frame "GLUETEXTBUTTON" "ScriptDialogButton" INHERITS WITHCHILDREN "EscMenuButtonTemplate"</p>
</body>
</html>